package com.it.Service;

import com.it.pojo.Flight;
import com.it.pojo.PageBean;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
public interface FlightService {
    PageBean FSList(String departCity, String arriveCity, Integer peoNumber, LocalDate day, Integer page, Integer pageSize);

    PageBean FCList(String departCity, String arriveCity, Integer peoNumber, LocalDate day, Integer page, Integer pageSize);

    Flight getFlightById(String fNumber);

    List<String> getTurnCityByName(List<String> aName);
}
